export const setUser = makeAction('SET_USER')

function makeAction (type) {
  return ({ dispatch }, ...args) => dispatch(type, ...args)
}
